<!DOCTYPE html>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>利锋客户查询</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="stylesheet" type="text/css" href="${contextPath}/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${contextPath}/css/bootstrap-theme.min.css" />
<link href="${contextPath}/css/jquery-ui.min.css" rel="stylesheet">
<link href="${contextPath}/css/jquery-ui.theme.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="${contextPath}/css/public.css">
<script type="text/javascript" src="${contextPath}/js/jquery.min.js"></script>
<script type="text/javascript" src="${contextPath}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${contextPath}/js/common.js"></script>
<style type="text/css">
.table-bordered {
	/*border: 2px solid #000000;*/
	
}

.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
	/*border: 1px solid #000000;*/
	
}

#p td, #p th {
	line-height: 36px;
	text-align: center;
}
</style>
</head>
<body style="font-size: 19px; font-family: Arial, Times New Roman, 黑体，宋体">
	<div style="width: 1075px;margin: 0 auto;;">
		<div style="text-align: center; font-size: 30px; font-weight: 100;">利锋电气电力输配电产品(配件)销售单</div>
		<span style="font-size: 16px;">订单号：${requestScope.pm.orderNumber}</span>
		<table id="p" border="1" style="width: 1075px; font-size: 20px; line-height: 40px;">
			<thead>
				<tr>
					<th style="text-align: left; padding-left: 6px;" colspan="1">客户名称：${requestScope.pm.name}</th>
					<th style="text-align: left; padding-left: 6px;" colspan="3">联系方式：${requestScope.pm.telephone}</th>
					<th style="text-align: left; padding-left: 6px;" colspan="5">送(发)货地址：${requestScope.pm.address}</th>
				</tr>
				<tr>
					<th style="text-align: left; padding-left: 6px;">${requestScope.pm.date}</th>
					<th style="text-align: left; padding-left: 6px;">货款状态：${requestScope.pm.paymentstatus}</th>
					<th style="text-align: left; padding-left: 6px;" colspan="2">会员号：${requestScope.pm.freightStationCard}</th>
					<th style="text-align: left; padding-left: 6px;" colspan="5">货站信息：${requestScope.pm.freightStation}</th>
				</tr>
				<tr>
					<td width="200px">产品名称</td>
					<td width="200px">规格型号</td>
					<td width="100px">材质</td>
					<td width="100px">厚度</td>
					<td width="80px">颜色</td>
					<td width="60px">数量</td>
					<td width="80px">单价</td>
					<td width="90px">金额</td>
					<td width="150px">备注</td>
				</tr>
				<c:forEach varStatus="i" begin="0" end="8" step="1">

					<tr>
						<c:choose>
							<c:when test="${i.last}">
								<td>
									<strong>总合计金额</strong>
								</td>
							</c:when>
							<c:when test="${requestScope.pm.products[i.index].product!=null}">
									<td>${requestScope.pm.products[i.index].product}</td>
							</c:when>
							<c:otherwise>
								<td>&nbsp;</td>
							</c:otherwise>
						</c:choose>
						<td>${requestScope.pm.products[i.index].specification}</td>
						<td>${requestScope.pm.products[i.index].texture}</td>
						<td>${requestScope.pm.products[i.index].thickness}</td>
						<td>${requestScope.pm.products[i.index].color}</td>
						<td>${requestScope.pm.products[i.index].number}</td>
						<td style="text-align: right; padding-right: 6px;">${requestScope.pm.products[i.index].unit}</td>
						<c:choose>
							<c:when test="${i.last}">
								<td style="text-align: right; padding-right: 3px;">
									<strong>${requestScope.pm.total}</strong>
								</td>
							</c:when>
							<c:otherwise>
								<td style="text-align: right; padding-right: 6px;">${requestScope.pm.products[i.index].amout}</td>
							</c:otherwise>
						</c:choose>
						<c:choose>
							<c:when test="${i.index==7}">
								<td>签字</td>
							</c:when>
							<c:when test="${i.last}">
								<td>税率${requestScope.pm.tax}</td>
							</c:when>
							<c:otherwise>
								<td>${requestScope.pm.products[i.index].remark}</td>
							</c:otherwise>
						</c:choose>
					</tr>
				</c:forEach>
		</table>
		<div>哈尔滨市利锋电气成套设备有限公司，专业生产，销售，高低压配电柜，箱式变电站，MNS，GCS，GCK，KYN-28，GGD</div>
		<div>封闭母线，电缆桥架，集中计量箱。XL-21新型动力柜，配电箱，玻璃钢箱，水暖井门。电线电缆，电力金具，仪器仪表</div>
		<div>配线辅材，成套设备。五金加工，激光切割加工各种配件。<strong style="margin-left: 50px;">地址：哈尔滨市阿城区高新技术工业开发区。</strong></div>
		<div>
			<strong>技术咨询：13633633264</strong>
			<strong style="margin-left: 100px;">销售电话：18348598111</strong>
			<strong style="margin-left: 100px;">0451-53714999</strong>
			<strong style="margin-left: 100px;">赵东波 </strong>
		</div>
	</div>
</body>
</html>
